//  @ts-nocheck
import {useUserStore} from "@/stores/userStore";
import {ref} from "vue";


// ========================== 获取题库信息 =====================================
const userStore = useUserStore();
const ctfWebData = ref([]);

export const fetchWebInformation = async () => {
    ctfWebData.value = await userStore.fetchWebInfo() || [];
    userStore.ctfWebData = ctfWebData.value;
}